package com.ruoyi.rental.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出租房列表对象 t_rental
 * 
 * @author ruoyi
 * @date 2025-09-11
 */
@Data
public class TRental extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出租房ID */
    private Long rentalId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private Long residentialId;

    /** 标题 */
    @Excel(name = "标题")
    private String rentalTitle;

    /** 面积 */
    @Excel(name = "面积")
    private Long rentalArea;

    /** 租金 */
    @Excel(name = "租金")
    private Long rentalPrice;

    /** 排序 */
    @Excel(name = "排序")
    private Long rentalSorting;

    /** 状态 */
    @Excel(name = "状态")
    private Long rentalStatus;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String residentialName;

    public void setRentalId(Long rentalId) 
    {
        this.rentalId = rentalId;
    }

    public Long getRentalId() 
    {
        return rentalId;
    }

    public void setResidentialId(Long residentialId) 
    {
        this.residentialId = residentialId;
    }

    public Long getResidentialId() 
    {
        return residentialId;
    }

    public void setRentalTitle(String rentalTitle) 
    {
        this.rentalTitle = rentalTitle;
    }

    public String getRentalTitle() 
    {
        return rentalTitle;
    }

    public void setRentalArea(Long rentalArea) 
    {
        this.rentalArea = rentalArea;
    }

    public Long getRentalArea() 
    {
        return rentalArea;
    }

    public void setRentalPrice(Long rentalPrice) 
    {
        this.rentalPrice = rentalPrice;
    }

    public Long getRentalPrice() 
    {
        return rentalPrice;
    }

    public void setRentalSorting(Long rentalSorting) 
    {
        this.rentalSorting = rentalSorting;
    }

    public Long getRentalSorting() 
    {
        return rentalSorting;
    }

    public void setRentalStatus(Long rentalStatus) 
    {
        this.rentalStatus = rentalStatus;
    }

    public Long getRentalStatus() 
    {
        return rentalStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rentalId", getRentalId())
            .append("residentialId", getResidentialId())
            .append("rentalTitle", getRentalTitle())
            .append("rentalArea", getRentalArea())
            .append("rentalPrice", getRentalPrice())
            .append("rentalSorting", getRentalSorting())
            .append("rentalStatus", getRentalStatus())
            .toString();
    }
}
